<?php echo $header;?>
<div id="content">
  <div class="box">
   <div class="heading">
      <h1><img src="view/image/information.png" alt="" /> <?php echo $heading_title; ?></h1>
      <div class="buttons"><a onclick="$('#form').submit();" class="button"><?php echo $button_save; ?></a><a href="<?php echo $cancel; ?>" class="button"><?php echo $button_cancel; ?></a></div>
    </div>
     <div class="content">
      <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="form">
      <table class="form">
	      <tr>
          	<td><span class="required">*</span>预约者：</td>
          	<td><input type="text" value="<?php echo $card_no;?>"name="card_no"/></td>
	      </tr>
	       <tr>
          	<td><span class="required">*</span>预约者：</td>
          	<td><select name="bussness_type_id">
          		<option value="-1">请选择....</option>
          		<?php foreach ($bussness_types as $bussness_type) { ?>
	          		<option value="<?php echo $bussness_type['bussness_type_id'];?>" <?php if($bussness_type_id==$bussness_type['bussness_type_id']){?> selected="selected"  <?php }?>><?php echo $bussness_type['type_name'];?></option>
          		<?php }?>
          	</select></td>
	      </tr>
	      
	      <tr>
	      	<td>附件</td>
	      	<td>
	      		<?php foreach ($uploadInfos as $uploadInfo) { ?>
			      	<div><?php echo $uploadInfo['name'];?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="button" href="<?php echo $uploadInfo['download'];?>">下载</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="button" href="<?php echo $uploadInfo['view'];?>" target="_blank">预览</a></div>
	      		<?php  }?>
	      	</td>
	      </tr>
	      
	      <tr>
	      	<td>客户描述</td>
	      	<td>
	      		<?php echo $content;?>
	      	</td>
	      </tr>
	      
	      
	      <tr>
	      	<td>预审意见</td>
	      	<td><textarea name="summary" cols="50" rows="5"><?php echo $summary;?></textarea></td>
	      </tr>
        </table>
        
      </form>
      </div>
  </div>
  </div>
  

<?php echo $footer;?>
